package org.answer.service;

import org.answer.entity.PageResult;
import org.answer.entity.QueryPageBean;
import org.answer.pojo.Permission;

import java.util.List;

/**
 * 权限管理
 */
public interface PermissionService {

    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);

    void update(Permission permission);

    void delete(Integer id);

    String add(Permission permission);

    List<Permission> findAllPermission();
}
